using System;
using System.Collections.Generic;
using System.Text;

namespace NBox.Service.Compression
{
    public interface ICompressor
    {
        #region Compress

        string Compress(String str);

        byte[] Compress(byte[] buffer);

        #endregion

        #region Decompress

        string Decompress(String str);

        byte[] Decompress(byte[] buffer);

        #endregion
    }
}
